package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ErrorProblem {

  @TableId
  private long errorId;
  private String errorName;
  private String errorPhone;
  private String errorProblem;
  private String errorRole;
  private String errorOrder;

  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date errorCreateTime;

//  @TableField(exist = false)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date errorSolvingTime;

  private long errorStatus;
  private String errorResult;

  @TableField(exist = false)
  private Integer page;
  @TableField(exist = false)
  private Integer pageSize;


  public long getErrorId() {
    return errorId;
  }

  public Integer getPage() {
    return page;
  }

  public void setPage(Integer page) {
    this.page = page;
  }

  public Integer getPageSize() {
    return pageSize;
  }

  public String getErrorResult() {
    return errorResult;
  }

  public void setErrorResult(String errorResult) {
    this.errorResult = errorResult;
  }

  public String getErrorOrder() {
    return errorOrder;
  }

  public void setErrorOrder(String errorOrder) {
    this.errorOrder = errorOrder;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public void setErrorId(long errorId) {
    this.errorId = errorId;
  }


  public String getErrorName() {
    return errorName;
  }

  public void setErrorName(String errorName) {
    this.errorName = errorName;
  }

  public Date getErrorCreateTime() {
    return errorCreateTime;
  }

  public void setErrorCreateTime(Date errorCreateTime) {
    this.errorCreateTime = errorCreateTime;
  }

  public Date getErrorSolvingTime() {
    return errorSolvingTime;
  }

  public void setErrorSolvingTime(Date errorSolvingTime) {
    this.errorSolvingTime = errorSolvingTime;
  }

  public String getErrorPhone() {
    return errorPhone;
  }

  public void setErrorPhone(String errorPhone) {
    this.errorPhone = errorPhone;
  }


  public String getErrorProblem() {
    return errorProblem;
  }

  public void setErrorProblem(String errorProblem) {
    this.errorProblem = errorProblem;
  }


  public String getErrorRole() {
    return errorRole;
  }

  public void setErrorRole(String errorRole) {
    this.errorRole = errorRole;
  }

  public long getErrorStatus() {
    return errorStatus;
  }

  public void setErrorStatus(long errorStatus) {
    this.errorStatus = errorStatus;
  }

  @Override
  public String toString() {
    return "ErrorProblem{" +
            "errorId=" + errorId +
            ", errorName='" + errorName + '\'' +
            ", errorPhone='" + errorPhone + '\'' +
            ", errorProblem='" + errorProblem + '\'' +
            ", errorRole='" + errorRole + '\'' +
            ", errorOrder='" + errorOrder + '\'' +
            ", errorCreateTime=" + errorCreateTime +
            ", errorSolvingTime=" + errorSolvingTime +
            ", errorStatus=" + errorStatus +
            ", errorResult='" + errorResult + '\'' +
            ", page=" + page +
            ", pageSize=" + pageSize +
            '}';
  }
}
